import request from "@/utils/request.js";

// 购物车 列表
let cart_list = (data) => request.get('/cart/list', data);

// 购物车 获取数量
let cart_count = (data) => request.get('/cart/count', data);

// 购物车 修改产品数量
let cart_num = (data) => request.post('/cart/num', data);

// 购物车 添加
let cart_add = (data) => request.post('/cart/add', data);

export default {
	cart_list,
	cart_count,
	cart_num,
	cart_add,
}